package com.bfly.mall.product.dto;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 产品类目
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/9/15 20:48
 */
public class ProductCategoryFormDTO implements Serializable {

    private static final long serialVersionUID = -6772932117454637517L;
    private int id;
    @NotBlank(message = "产品类目名称不能为空!")
    private String name;
    private int seq;

    private int parentId;

    private String pic;

    public int getSeq() {
        return seq;
    }

    public void setSeq(int seq) {
        this.seq = seq;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getParentId() {
        return parentId;
    }

    public void setParentId(int parentId) {
        this.parentId = parentId;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }
}
